﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
</head>

<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>DAEProde MVC Application</h1>
            </div>
            <div id="logindisplay">
                    @Html.Partial("_LogOnPartial")
            </div>
            <nav>
                 <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home", new { area = "" }, null)</li>
                    <li>@Html.ActionLink("Mi Boleta", "Index", "Ticket", new { area = "" }, null)</li>
                    <li>@Html.ActionLink("Ver Resultados", "Index", "ViewResults", new { area = "" }, null)</li>
                    <li>@Html.ActionLink("Admin", "Index", "Admin", new { area = "" }, null)</li>
                </ul>
            </nav>
        </header>

        <section id="main">
            @if (TempData["message"] != null)
            {
                <div class="message">@TempData["message"]</div>
            }

            @if (ViewData["message"] != null)
            {
                <div class="message">@ViewData["message"]</div>
            }

            @RenderBody()
        </section>
    </div>
</body>
</html>
